/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * InventoryDialog.java
 *
 * Created on May 12, 2009, 10:32:34 AM
 */

package DigimonAdventure.UserInterface;
import DigimonAdventure.DigimonAdventure;

/**
 *
 * @author Benz Louis
 */
public class InventoryDialog extends javax.swing.JDialog {
    private int SLoot;
    private int SItem;
    private int SArm;
    private int SWpn;
    private int SShd;
    private int SBst;
    private int SAcc;
    

    /** Creates new form InventoryDialog */
    public InventoryDialog(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
        GroupLoots.add(SLoot1);
        GroupLoots.add(SLoot2);
        GroupLoots.add(SLoot3);
        GroupLoots.add(SLoot4);
        GroupLoots.add(SLoot5);
        GroupLoots.add(SLoot6);
        GroupLoots.add(SLoot7);
        GroupLoots.add(SLoot8);
        GroupLoots.add(SLoot9);
        GroupLoots.add(SLoot10);
        GroupItem.add(SItem1);
        GroupItem.add(SItem2);
        GroupItem.add(SItem3);
        GroupItem.add(SItem4);
        GroupItem.add(SItem5);
        GroupItem.add(SItem6);
        GroupItem.add(SItem7);
        GroupItem.add(SItem8);
        GroupItem.add(SItem9);
        GroupItem.add(SItem10);
        GroupEquip.add(SArm1);
        GroupEquip.add(SArm2);
        GroupEquip.add(SArm3);
        GroupEquip.add(SArm4);
        GroupEquip.add(SArm5);
        GroupEquip.add(SWpn1);
        GroupEquip.add(SWpn2);
        GroupEquip.add(SWpn3);
        GroupEquip.add(SWpn4);
        GroupEquip.add(SWpn5);
        GroupEquip.add(SShd1);
        GroupEquip.add(SShd2);
        GroupEquip.add(SShd3);
        GroupEquip.add(SShd4);
        GroupEquip.add(SShd5);
        GroupEquip.add(SBst1);
        GroupEquip.add(SBst2);
        GroupEquip.add(SBst3);
        GroupEquip.add(SBst4);
        GroupEquip.add(SBst5);
        GroupEquip.add(SAcc1);
        GroupEquip.add(SAcc2);
        GroupEquip.add(SAcc3);
        GroupEquip.add(SAcc4);
        GroupEquip.add(SAcc5);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        DialogVerify1 = new javax.swing.JDialog(this);
        jPanel1 = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        CmdY = new javax.swing.JButton();
        CmdN = new javax.swing.JButton();
        DialogVerify2 = new javax.swing.JDialog(this);
        jPanel4 = new javax.swing.JPanel();
        jLabel10 = new javax.swing.JLabel();
        CmdY2 = new javax.swing.JButton();
        CmdN2 = new javax.swing.JButton();
        DialogVerify3 = new javax.swing.JDialog(this);
        jPanel5 = new javax.swing.JPanel();
        jLabel11 = new javax.swing.JLabel();
        CmdY3 = new javax.swing.JButton();
        CmdN3 = new javax.swing.JButton();
        DialogUse = new javax.swing.JDialog(this);
        jPanel3 = new javax.swing.JPanel();
        jLabel9 = new javax.swing.JLabel();
        ComboDigimon = new javax.swing.JComboBox();
        CmdY1 = new javax.swing.JButton();
        CmdN1 = new javax.swing.JButton();
        DialogNotification = new javax.swing.JDialog(this);
        jPanel2 = new javax.swing.JPanel();
        Note = new javax.swing.JLabel();
        CmdOK = new javax.swing.JButton();
        GroupLoots = new javax.swing.ButtonGroup();
        GroupItem = new javax.swing.ButtonGroup();
        GroupEquip = new javax.swing.ButtonGroup();
        OuterPanel = new javax.swing.JLayeredPane();
        Tabs = new javax.swing.JTabbedPane();
        TabLoots = new javax.swing.JLayeredPane();
        BGLoots = new javax.swing.JLabel();
        CmdDispose1 = new javax.swing.JButton();
        SLoot1 = new javax.swing.JRadioButton();
        SLoot2 = new javax.swing.JRadioButton();
        SLoot3 = new javax.swing.JRadioButton();
        SLoot4 = new javax.swing.JRadioButton();
        SLoot5 = new javax.swing.JRadioButton();
        SLoot6 = new javax.swing.JRadioButton();
        SLoot7 = new javax.swing.JRadioButton();
        SLoot8 = new javax.swing.JRadioButton();
        SLoot9 = new javax.swing.JRadioButton();
        SLoot10 = new javax.swing.JRadioButton();
        jLabel7 = new javax.swing.JLabel();
        LootPic = new javax.swing.JLabel();
        LootName = new javax.swing.JLabel();
        LootDesc = new javax.swing.JLabel();
        LootVal = new javax.swing.JLabel();
        TabItem = new javax.swing.JLayeredPane();
        BGItem = new javax.swing.JLabel();
        CmdUse = new javax.swing.JButton();
        SItem1 = new javax.swing.JRadioButton();
        SItem2 = new javax.swing.JRadioButton();
        SItem3 = new javax.swing.JRadioButton();
        SItem4 = new javax.swing.JRadioButton();
        SItem5 = new javax.swing.JRadioButton();
        SItem6 = new javax.swing.JRadioButton();
        SItem7 = new javax.swing.JRadioButton();
        SItem8 = new javax.swing.JRadioButton();
        SItem9 = new javax.swing.JRadioButton();
        SItem10 = new javax.swing.JRadioButton();
        jLabel8 = new javax.swing.JLabel();
        CmdDispose2 = new javax.swing.JButton();
        ItemPic = new javax.swing.JLabel();
        ItemName = new javax.swing.JLabel();
        ItemDesc = new javax.swing.JLabel();
        ItemVal = new javax.swing.JLabel();
        TabEquipment = new javax.swing.JLayeredPane();
        BGEquip = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        SArm1 = new javax.swing.JRadioButton();
        SArm2 = new javax.swing.JRadioButton();
        SArm3 = new javax.swing.JRadioButton();
        SArm4 = new javax.swing.JRadioButton();
        SArm5 = new javax.swing.JRadioButton();
        jLabel2 = new javax.swing.JLabel();
        SWpn1 = new javax.swing.JRadioButton();
        SWpn2 = new javax.swing.JRadioButton();
        SWpn3 = new javax.swing.JRadioButton();
        SWpn4 = new javax.swing.JRadioButton();
        SWpn5 = new javax.swing.JRadioButton();
        jLabel3 = new javax.swing.JLabel();
        SShd1 = new javax.swing.JRadioButton();
        SShd2 = new javax.swing.JRadioButton();
        SShd3 = new javax.swing.JRadioButton();
        SShd4 = new javax.swing.JRadioButton();
        SShd5 = new javax.swing.JRadioButton();
        jLabel4 = new javax.swing.JLabel();
        SBst1 = new javax.swing.JRadioButton();
        SBst2 = new javax.swing.JRadioButton();
        SBst3 = new javax.swing.JRadioButton();
        SBst4 = new javax.swing.JRadioButton();
        SBst5 = new javax.swing.JRadioButton();
        jLabel5 = new javax.swing.JLabel();
        SAcc1 = new javax.swing.JRadioButton();
        SAcc2 = new javax.swing.JRadioButton();
        SAcc3 = new javax.swing.JRadioButton();
        SAcc4 = new javax.swing.JRadioButton();
        SAcc5 = new javax.swing.JRadioButton();
        CmdDispose3 = new javax.swing.JButton();
        EquipPic = new javax.swing.JLabel();
        EquipName = new javax.swing.JLabel();
        EquipDesc = new javax.swing.JLabel();
        EquipVal = new javax.swing.JLabel();
        CmdToDigiStat = new javax.swing.JButton();
        CmdRestore = new javax.swing.JButton();
        jLabel62 = new javax.swing.JLabel();
        PlayerName = new javax.swing.JLabel();
        jLabel61 = new javax.swing.JLabel();
        Money = new javax.swing.JLabel();
        jLabel63 = new javax.swing.JLabel();
        Countdown = new javax.swing.JLabel();
        DialogBox = new javax.swing.JScrollPane();
        IsiDialog = new javax.swing.JTextArea();
        PlayerFace = new javax.swing.JLabel();

        DialogVerify1.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        DialogVerify1.setMinimumSize(new java.awt.Dimension(400, 150));
        DialogVerify1.setModal(true);

        jLabel6.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel6.setText("Are you Sure?");

        CmdY.setText("Yes");
        CmdY.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdYMouseClicked(evt);
            }
        });

        CmdN.setText("No");
        CmdN.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdNMouseClicked(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(113, 113, 113)
                        .addComponent(CmdY, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(75, 75, 75)
                        .addComponent(CmdN, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(CmdN, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(CmdY, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(78, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout DialogVerify1Layout = new javax.swing.GroupLayout(DialogVerify1.getContentPane());
        DialogVerify1.getContentPane().setLayout(DialogVerify1Layout);
        DialogVerify1Layout.setHorizontalGroup(
            DialogVerify1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        DialogVerify1Layout.setVerticalGroup(
            DialogVerify1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        DialogVerify2.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        DialogVerify2.setMinimumSize(new java.awt.Dimension(400, 150));
        DialogVerify2.setModal(true);

        jLabel10.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel10.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel10.setText("Are you Sure?");

        CmdY2.setText("Yes");
        CmdY2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdY2MouseClicked(evt);
            }
        });

        CmdN2.setText("No");
        CmdN2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdN2MouseClicked(evt);
            }
        });

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel10, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE))
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addGap(113, 113, 113)
                        .addComponent(CmdY2, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(75, 75, 75)
                        .addComponent(CmdN2, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(CmdN2, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(CmdY2, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(78, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout DialogVerify2Layout = new javax.swing.GroupLayout(DialogVerify2.getContentPane());
        DialogVerify2.getContentPane().setLayout(DialogVerify2Layout);
        DialogVerify2Layout.setHorizontalGroup(
            DialogVerify2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        DialogVerify2Layout.setVerticalGroup(
            DialogVerify2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        DialogVerify3.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        DialogVerify3.setMinimumSize(new java.awt.Dimension(400, 150));
        DialogVerify3.setModal(true);

        jLabel11.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel11.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel11.setText("Are you Sure?");

        CmdY3.setText("Yes");
        CmdY3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdY3MouseClicked(evt);
            }
        });

        CmdN3.setText("No");
        CmdN3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdN3MouseClicked(evt);
            }
        });

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel11, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE))
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addGap(113, 113, 113)
                        .addComponent(CmdY3, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(75, 75, 75)
                        .addComponent(CmdN3, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(CmdN3, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(CmdY3, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(78, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout DialogVerify3Layout = new javax.swing.GroupLayout(DialogVerify3.getContentPane());
        DialogVerify3.getContentPane().setLayout(DialogVerify3Layout);
        DialogVerify3Layout.setHorizontalGroup(
            DialogVerify3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        DialogVerify3Layout.setVerticalGroup(
            DialogVerify3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        DialogUse.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        DialogUse.setMinimumSize(new java.awt.Dimension(400, 175));
        DialogUse.setModal(true);
        DialogUse.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentHidden(java.awt.event.ComponentEvent evt) {
                DialogUseComponentHidden(evt);
            }
            public void componentShown(java.awt.event.ComponentEvent evt) {
                DialogUseComponentShown(evt);
            }
        });

        jLabel9.setFont(new java.awt.Font("Tahoma", 1, 12));
        jLabel9.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel9.setText("Use to..?");

        CmdY1.setText("OK");
        CmdY1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdY1MouseClicked(evt);
            }
        });

        CmdN1.setText("Cancel");
        CmdN1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdN1MouseClicked(evt);
            }
        });

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE))
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addGap(100, 100, 100)
                        .addComponent(ComboDigimon, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
                .addGap(66, 66, 66)
                .addComponent(CmdY1, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 119, Short.MAX_VALUE)
                .addComponent(CmdN1, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(65, 65, 65))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel9)
                .addGap(18, 18, 18)
                .addComponent(ComboDigimon, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(CmdN1)
                    .addComponent(CmdY1))
                .addContainerGap(45, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout DialogUseLayout = new javax.swing.GroupLayout(DialogUse.getContentPane());
        DialogUse.getContentPane().setLayout(DialogUseLayout);
        DialogUseLayout.setHorizontalGroup(
            DialogUseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        DialogUseLayout.setVerticalGroup(
            DialogUseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        DialogNotification.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        DialogNotification.setMinimumSize(new java.awt.Dimension(400, 150));
        DialogNotification.setModal(true);

        Note.setFont(new java.awt.Font("Tahoma", 1, 11));
        Note.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Note.setText("Masukkan note disini");

        CmdOK.setText("Ok");
        CmdOK.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdOKMouseClicked(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Note, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(170, 170, 170)
                        .addComponent(CmdOK, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(Note, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(CmdOK, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(71, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout DialogNotificationLayout = new javax.swing.GroupLayout(DialogNotification.getContentPane());
        DialogNotification.getContentPane().setLayout(DialogNotificationLayout);
        DialogNotificationLayout.setHorizontalGroup(
            DialogNotificationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        DialogNotificationLayout.setVerticalGroup(
            DialogNotificationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Digimon World Adventure - Inventory");
        setAlwaysOnTop(true);
        setMinimumSize(new java.awt.Dimension(1024, 768));
        setModalityType(java.awt.Dialog.ModalityType.APPLICATION_MODAL);
        setResizable(false);
        addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                formComponentShown(evt);
            }
        });

        Tabs.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                TabsComponentShown(evt);
            }
        });

        TabLoots.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                TabLootsComponentShown(evt);
            }
        });

        BGLoots.setIcon(new javax.swing.ImageIcon(getClass().getResource("/DigimonAdventure/Graphics/Inventory.jpg"))); // NOI18N
        BGLoots.setBounds(0, 0, 800, 600);
        TabLoots.add(BGLoots, javax.swing.JLayeredPane.DEFAULT_LAYER);

        CmdDispose1.setFont(new java.awt.Font("Tahoma", 3, 14));
        CmdDispose1.setForeground(new java.awt.Color(204, 153, 0));
        CmdDispose1.setText("Dispose");
        CmdDispose1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdDispose1MouseClicked(evt);
            }
        });
        CmdDispose1.setBounds(560, 490, 200, 50);
        TabLoots.add(CmdDispose1, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot1.setForeground(new java.awt.Color(255, 255, 255));
        SLoot1.setSelected(true);
        SLoot1.setText("-Empty Slot-");
        SLoot1.setContentAreaFilled(false);
        SLoot1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot1MouseClicked(evt);
            }
        });
        SLoot1.setBounds(40, 60, 250, 20);
        TabLoots.add(SLoot1, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot2.setForeground(new java.awt.Color(255, 255, 255));
        SLoot2.setText("-Empty Slot-");
        SLoot2.setContentAreaFilled(false);
        SLoot2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot2MouseClicked(evt);
            }
        });
        SLoot2.setBounds(40, 90, 250, 20);
        TabLoots.add(SLoot2, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot3.setForeground(new java.awt.Color(255, 255, 255));
        SLoot3.setText("-Empty Slot-");
        SLoot3.setContentAreaFilled(false);
        SLoot3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot3MouseClicked(evt);
            }
        });
        SLoot3.setBounds(40, 120, 250, 20);
        TabLoots.add(SLoot3, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot4.setForeground(new java.awt.Color(255, 255, 255));
        SLoot4.setText("-Empty Slot-");
        SLoot4.setContentAreaFilled(false);
        SLoot4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot4MouseClicked(evt);
            }
        });
        SLoot4.setBounds(40, 150, 250, 20);
        TabLoots.add(SLoot4, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot5.setForeground(new java.awt.Color(255, 255, 255));
        SLoot5.setText("-Empty Slot-");
        SLoot5.setContentAreaFilled(false);
        SLoot5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot5MouseClicked(evt);
            }
        });
        SLoot5.setBounds(40, 180, 250, 20);
        TabLoots.add(SLoot5, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot6.setForeground(new java.awt.Color(255, 255, 255));
        SLoot6.setText("-Empty Slot-");
        SLoot6.setContentAreaFilled(false);
        SLoot6.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot6MouseClicked(evt);
            }
        });
        SLoot6.setBounds(400, 60, 250, 20);
        TabLoots.add(SLoot6, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot7.setForeground(new java.awt.Color(255, 255, 255));
        SLoot7.setText("-Empty Slot-");
        SLoot7.setContentAreaFilled(false);
        SLoot7.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot7MouseClicked(evt);
            }
        });
        SLoot7.setBounds(400, 90, 250, 20);
        TabLoots.add(SLoot7, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot8.setForeground(new java.awt.Color(255, 255, 255));
        SLoot8.setText("-Empty Slot-");
        SLoot8.setContentAreaFilled(false);
        SLoot8.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot8MouseClicked(evt);
            }
        });
        SLoot8.setBounds(400, 120, 250, 20);
        TabLoots.add(SLoot8, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot9.setForeground(new java.awt.Color(255, 255, 255));
        SLoot9.setText("-Empty Slot-");
        SLoot9.setContentAreaFilled(false);
        SLoot9.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot9MouseClicked(evt);
            }
        });
        SLoot9.setBounds(400, 150, 250, 20);
        TabLoots.add(SLoot9, javax.swing.JLayeredPane.PALETTE_LAYER);

        SLoot10.setForeground(new java.awt.Color(255, 255, 255));
        SLoot10.setText("-Empty Slot-");
        SLoot10.setContentAreaFilled(false);
        SLoot10.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SLoot10MouseClicked(evt);
            }
        });
        SLoot10.setBounds(400, 180, 250, 20);
        TabLoots.add(SLoot10, javax.swing.JLayeredPane.PALETTE_LAYER);

        jLabel7.setFont(new java.awt.Font("Tahoma", 3, 14));
        jLabel7.setForeground(new java.awt.Color(255, 255, 255));
        jLabel7.setText("Loots");
        jLabel7.setBounds(20, 20, 250, 30);
        TabLoots.add(jLabel7, javax.swing.JLayeredPane.PALETTE_LAYER);

        LootPic.setIcon(new javax.swing.ImageIcon(getClass().getResource("/DigimonAdventure/Graphics/ItemPC.gif"))); // NOI18N
        LootPic.setBounds(10, 460, 100, 100);
        TabLoots.add(LootPic, javax.swing.JLayeredPane.PALETTE_LAYER);

        LootName.setFont(new java.awt.Font("Tahoma", 1, 12));
        LootName.setForeground(new java.awt.Color(255, 255, 255));
        LootName.setText("<Nama Selected Item>");
        LootName.setBounds(130, 470, 200, 20);
        TabLoots.add(LootName, javax.swing.JLayeredPane.PALETTE_LAYER);

        LootDesc.setForeground(new java.awt.Color(255, 255, 255));
        LootDesc.setText("<Keterangan dari selected item>");
        LootDesc.setBounds(160, 500, 350, 15);
        TabLoots.add(LootDesc, javax.swing.JLayeredPane.PALETTE_LAYER);

        LootVal.setForeground(new java.awt.Color(255, 255, 255));
        LootVal.setText("<Fungsi atau nilai selected item>");
        LootVal.setBounds(160, 520, 350, 15);
        TabLoots.add(LootVal, javax.swing.JLayeredPane.PALETTE_LAYER);

        Tabs.addTab("Loots", TabLoots);

        TabItem.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                TabItemComponentShown(evt);
            }
        });

        BGItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/DigimonAdventure/Graphics/Inventory.jpg"))); // NOI18N
        BGItem.setBounds(0, 0, 800, 600);
        TabItem.add(BGItem, javax.swing.JLayeredPane.DEFAULT_LAYER);

        CmdUse.setFont(new java.awt.Font("Tahoma", 3, 14));
        CmdUse.setForeground(new java.awt.Color(204, 153, 0));
        CmdUse.setText("Use");
        CmdUse.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdUseMouseClicked(evt);
            }
        });
        CmdUse.setBounds(560, 410, 200, 50);
        TabItem.add(CmdUse, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem1.setForeground(new java.awt.Color(255, 255, 255));
        SItem1.setSelected(true);
        SItem1.setText("-Empty Slot-");
        SItem1.setContentAreaFilled(false);
        SItem1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem1MouseClicked(evt);
            }
        });
        SItem1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent evt) {
                SItem1PropertyChange(evt);
            }
        });
        SItem1.setBounds(40, 60, 250, 20);
        TabItem.add(SItem1, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem2.setForeground(new java.awt.Color(255, 255, 255));
        SItem2.setText("-Empty Slot-");
        SItem2.setContentAreaFilled(false);
        SItem2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem2MouseClicked(evt);
            }
        });
        SItem2.setBounds(40, 90, 250, 20);
        TabItem.add(SItem2, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem3.setForeground(new java.awt.Color(255, 255, 255));
        SItem3.setText("-Empty Slot-");
        SItem3.setContentAreaFilled(false);
        SItem3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem3MouseClicked(evt);
            }
        });
        SItem3.setBounds(40, 120, 250, 20);
        TabItem.add(SItem3, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem4.setForeground(new java.awt.Color(255, 255, 255));
        SItem4.setText("-Empty Slot-");
        SItem4.setContentAreaFilled(false);
        SItem4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem4MouseClicked(evt);
            }
        });
        SItem4.setBounds(40, 150, 250, 20);
        TabItem.add(SItem4, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem5.setForeground(new java.awt.Color(255, 255, 255));
        SItem5.setText("-Empty Slot-");
        SItem5.setContentAreaFilled(false);
        SItem5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem5MouseClicked(evt);
            }
        });
        SItem5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                SItem5ActionPerformed(evt);
            }
        });
        SItem5.setBounds(40, 180, 250, 20);
        TabItem.add(SItem5, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem6.setForeground(new java.awt.Color(255, 255, 255));
        SItem6.setText("-Empty Slot-");
        SItem6.setContentAreaFilled(false);
        SItem6.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem6MouseClicked(evt);
            }
        });
        SItem6.setBounds(400, 60, 250, 20);
        TabItem.add(SItem6, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem7.setForeground(new java.awt.Color(255, 255, 255));
        SItem7.setText("-Empty Slot-");
        SItem7.setContentAreaFilled(false);
        SItem7.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem7MouseClicked(evt);
            }
        });
        SItem7.setBounds(400, 90, 250, 20);
        TabItem.add(SItem7, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem8.setForeground(new java.awt.Color(255, 255, 255));
        SItem8.setText("-Empty Slot-");
        SItem8.setContentAreaFilled(false);
        SItem8.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem8MouseClicked(evt);
            }
        });
        SItem8.setBounds(400, 120, 250, 20);
        TabItem.add(SItem8, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem9.setForeground(new java.awt.Color(255, 255, 255));
        SItem9.setText("-Empty Slot-");
        SItem9.setContentAreaFilled(false);
        SItem9.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem9MouseClicked(evt);
            }
        });
        SItem9.setBounds(400, 150, 250, 20);
        TabItem.add(SItem9, javax.swing.JLayeredPane.PALETTE_LAYER);

        SItem10.setForeground(new java.awt.Color(255, 255, 255));
        SItem10.setText("-Empty Slot-");
        SItem10.setContentAreaFilled(false);
        SItem10.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SItem10MouseClicked(evt);
            }
        });
        SItem10.setBounds(400, 180, 250, 20);
        TabItem.add(SItem10, javax.swing.JLayeredPane.PALETTE_LAYER);

        jLabel8.setFont(new java.awt.Font("Tahoma", 3, 14));
        jLabel8.setForeground(new java.awt.Color(255, 255, 255));
        jLabel8.setText("Items");
        jLabel8.setBounds(20, 20, 250, 30);
        TabItem.add(jLabel8, javax.swing.JLayeredPane.PALETTE_LAYER);

        CmdDispose2.setFont(new java.awt.Font("Tahoma", 3, 14));
        CmdDispose2.setForeground(new java.awt.Color(204, 153, 0));
        CmdDispose2.setText("Dispose");
        CmdDispose2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdDispose2MouseClicked(evt);
            }
        });
        CmdDispose2.setBounds(560, 490, 200, 50);
        TabItem.add(CmdDispose2, javax.swing.JLayeredPane.PALETTE_LAYER);

        ItemPic.setIcon(new javax.swing.ImageIcon(getClass().getResource("/DigimonAdventure/Graphics/ItemPC.gif"))); // NOI18N
        ItemPic.setBounds(10, 460, 100, 100);
        TabItem.add(ItemPic, javax.swing.JLayeredPane.PALETTE_LAYER);

        ItemName.setFont(new java.awt.Font("Tahoma", 1, 12));
        ItemName.setForeground(new java.awt.Color(255, 255, 255));
        ItemName.setText("<Nama Selected Item>");
        ItemName.setBounds(130, 470, 200, 20);
        TabItem.add(ItemName, javax.swing.JLayeredPane.PALETTE_LAYER);

        ItemDesc.setForeground(new java.awt.Color(255, 255, 255));
        ItemDesc.setText("<Keterangan dari selected item>");
        ItemDesc.setBounds(160, 500, 350, 15);
        TabItem.add(ItemDesc, javax.swing.JLayeredPane.PALETTE_LAYER);

        ItemVal.setForeground(new java.awt.Color(255, 255, 255));
        ItemVal.setText("<Fungsi atau nilai selected item>");
        ItemVal.setBounds(160, 520, 350, 15);
        TabItem.add(ItemVal, javax.swing.JLayeredPane.PALETTE_LAYER);

        Tabs.addTab("Items", TabItem);

        TabEquipment.setMinimumSize(new java.awt.Dimension(800, 600));
        TabEquipment.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                TabEquipmentComponentShown(evt);
            }
        });

        BGEquip.setIcon(new javax.swing.ImageIcon(getClass().getResource("/DigimonAdventure/Graphics/Inventory.jpg"))); // NOI18N
        BGEquip.setBounds(0, 0, 800, 600);
        TabEquipment.add(BGEquip, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel1.setFont(new java.awt.Font("Calibri", 1, 14));
        jLabel1.setForeground(new java.awt.Color(255, 255, 255));
        jLabel1.setText("Armors");
        jLabel1.setBounds(20, 20, 250, 30);
        TabEquipment.add(jLabel1, javax.swing.JLayeredPane.PALETTE_LAYER);

        SArm1.setForeground(new java.awt.Color(255, 255, 255));
        SArm1.setSelected(true);
        SArm1.setText("-Empty Slot-");
        SArm1.setContentAreaFilled(false);
        SArm1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SArm1MouseClicked(evt);
            }
        });
        SArm1.setBounds(40, 50, 200, 15);
        TabEquipment.add(SArm1, javax.swing.JLayeredPane.PALETTE_LAYER);

        SArm2.setForeground(new java.awt.Color(255, 255, 255));
        SArm2.setText("-Empty Slot-");
        SArm2.setContentAreaFilled(false);
        SArm2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SArm2MouseClicked(evt);
            }
        });
        SArm2.setBounds(40, 70, 200, 15);
        TabEquipment.add(SArm2, javax.swing.JLayeredPane.PALETTE_LAYER);

        SArm3.setForeground(new java.awt.Color(255, 255, 255));
        SArm3.setText("-Empty Slot-");
        SArm3.setContentAreaFilled(false);
        SArm3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SArm3MouseClicked(evt);
            }
        });
        SArm3.setBounds(40, 90, 200, 15);
        TabEquipment.add(SArm3, javax.swing.JLayeredPane.PALETTE_LAYER);

        SArm4.setForeground(new java.awt.Color(255, 255, 255));
        SArm4.setText("-Empty Slot-");
        SArm4.setContentAreaFilled(false);
        SArm4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SArm4MouseClicked(evt);
            }
        });
        SArm4.setBounds(40, 110, 200, 15);
        TabEquipment.add(SArm4, javax.swing.JLayeredPane.PALETTE_LAYER);

        SArm5.setForeground(new java.awt.Color(255, 255, 255));
        SArm5.setText("-Empty Slot-");
        SArm5.setContentAreaFilled(false);
        SArm5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SArm5MouseClicked(evt);
            }
        });
        SArm5.setBounds(40, 130, 200, 15);
        TabEquipment.add(SArm5, javax.swing.JLayeredPane.PALETTE_LAYER);

        jLabel2.setFont(new java.awt.Font("Calibri", 1, 14));
        jLabel2.setForeground(new java.awt.Color(255, 255, 255));
        jLabel2.setText("Weapons");
        jLabel2.setBounds(20, 170, 250, 30);
        TabEquipment.add(jLabel2, javax.swing.JLayeredPane.PALETTE_LAYER);

        SWpn1.setForeground(new java.awt.Color(255, 255, 255));
        SWpn1.setText("-Empty Slot-");
        SWpn1.setContentAreaFilled(false);
        SWpn1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SWpn1MouseClicked(evt);
            }
        });
        SWpn1.setBounds(40, 200, 200, 15);
        TabEquipment.add(SWpn1, javax.swing.JLayeredPane.PALETTE_LAYER);

        SWpn2.setForeground(new java.awt.Color(255, 255, 255));
        SWpn2.setText("-Empty Slot-");
        SWpn2.setContentAreaFilled(false);
        SWpn2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SWpn2MouseClicked(evt);
            }
        });
        SWpn2.setBounds(40, 220, 200, 15);
        TabEquipment.add(SWpn2, javax.swing.JLayeredPane.PALETTE_LAYER);

        SWpn3.setForeground(new java.awt.Color(255, 255, 255));
        SWpn3.setText("-Empty Slot-");
        SWpn3.setContentAreaFilled(false);
        SWpn3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SWpn3MouseClicked(evt);
            }
        });
        SWpn3.setBounds(40, 240, 200, 15);
        TabEquipment.add(SWpn3, javax.swing.JLayeredPane.PALETTE_LAYER);

        SWpn4.setForeground(new java.awt.Color(255, 255, 255));
        SWpn4.setText("-Empty Slot-");
        SWpn4.setContentAreaFilled(false);
        SWpn4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SWpn4MouseClicked(evt);
            }
        });
        SWpn4.setBounds(40, 260, 200, 15);
        TabEquipment.add(SWpn4, javax.swing.JLayeredPane.PALETTE_LAYER);

        SWpn5.setForeground(new java.awt.Color(255, 255, 255));
        SWpn5.setText("-Empty Slot-");
        SWpn5.setContentAreaFilled(false);
        SWpn5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SWpn5MouseClicked(evt);
            }
        });
        SWpn5.setBounds(40, 280, 200, 15);
        TabEquipment.add(SWpn5, javax.swing.JLayeredPane.PALETTE_LAYER);

        jLabel3.setFont(new java.awt.Font("Calibri", 1, 14));
        jLabel3.setForeground(new java.awt.Color(255, 255, 255));
        jLabel3.setText("Shields");
        jLabel3.setBounds(20, 320, 250, 30);
        TabEquipment.add(jLabel3, javax.swing.JLayeredPane.PALETTE_LAYER);

        SShd1.setForeground(new java.awt.Color(255, 255, 255));
        SShd1.setText("-Empty Slot-");
        SShd1.setContentAreaFilled(false);
        SShd1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SShd1MouseClicked(evt);
            }
        });
        SShd1.setBounds(40, 350, 200, 15);
        TabEquipment.add(SShd1, javax.swing.JLayeredPane.PALETTE_LAYER);

        SShd2.setForeground(new java.awt.Color(255, 255, 255));
        SShd2.setText("-Empty Slot-");
        SShd2.setContentAreaFilled(false);
        SShd2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SShd2MouseClicked(evt);
            }
        });
        SShd2.setBounds(40, 370, 200, 15);
        TabEquipment.add(SShd2, javax.swing.JLayeredPane.PALETTE_LAYER);

        SShd3.setForeground(new java.awt.Color(255, 255, 255));
        SShd3.setText("-Empty Slot-");
        SShd3.setContentAreaFilled(false);
        SShd3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SShd3MouseClicked(evt);
            }
        });
        SShd3.setBounds(40, 390, 200, 15);
        TabEquipment.add(SShd3, javax.swing.JLayeredPane.PALETTE_LAYER);

        SShd4.setForeground(new java.awt.Color(255, 255, 255));
        SShd4.setText("-Empty Slot-");
        SShd4.setContentAreaFilled(false);
        SShd4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SShd4MouseClicked(evt);
            }
        });
        SShd4.setBounds(40, 410, 200, 15);
        TabEquipment.add(SShd4, javax.swing.JLayeredPane.PALETTE_LAYER);

        SShd5.setForeground(new java.awt.Color(255, 255, 255));
        SShd5.setText("-Empty Slot-");
        SShd5.setContentAreaFilled(false);
        SShd5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SShd5MouseClicked(evt);
            }
        });
        SShd5.setBounds(40, 430, 200, 15);
        TabEquipment.add(SShd5, javax.swing.JLayeredPane.PALETTE_LAYER);

        jLabel4.setFont(new java.awt.Font("Calibri", 1, 14));
        jLabel4.setForeground(new java.awt.Color(255, 255, 255));
        jLabel4.setText("Boosters");
        jLabel4.setBounds(390, 20, 250, 30);
        TabEquipment.add(jLabel4, javax.swing.JLayeredPane.PALETTE_LAYER);

        SBst1.setForeground(new java.awt.Color(255, 255, 255));
        SBst1.setText("-Empty Slot-");
        SBst1.setContentAreaFilled(false);
        SBst1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SBst1MouseClicked(evt);
            }
        });
        SBst1.setBounds(420, 50, 200, 15);
        TabEquipment.add(SBst1, javax.swing.JLayeredPane.PALETTE_LAYER);

        SBst2.setForeground(new java.awt.Color(255, 255, 255));
        SBst2.setText("-Empty Slot-");
        SBst2.setContentAreaFilled(false);
        SBst2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SBst2MouseClicked(evt);
            }
        });
        SBst2.setBounds(420, 70, 200, 15);
        TabEquipment.add(SBst2, javax.swing.JLayeredPane.PALETTE_LAYER);

        SBst3.setForeground(new java.awt.Color(255, 255, 255));
        SBst3.setText("-Empty Slot-");
        SBst3.setContentAreaFilled(false);
        SBst3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SBst3MouseClicked(evt);
            }
        });
        SBst3.setBounds(420, 90, 200, 15);
        TabEquipment.add(SBst3, javax.swing.JLayeredPane.PALETTE_LAYER);

        SBst4.setForeground(new java.awt.Color(255, 255, 255));
        SBst4.setText("-Empty Slot-");
        SBst4.setContentAreaFilled(false);
        SBst4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SBst4MouseClicked(evt);
            }
        });
        SBst4.setBounds(420, 110, 200, 15);
        TabEquipment.add(SBst4, javax.swing.JLayeredPane.PALETTE_LAYER);

        SBst5.setForeground(new java.awt.Color(255, 255, 255));
        SBst5.setText("-Empty Slot-");
        SBst5.setContentAreaFilled(false);
        SBst5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SBst5MouseClicked(evt);
            }
        });
        SBst5.setBounds(420, 130, 200, 15);
        TabEquipment.add(SBst5, javax.swing.JLayeredPane.PALETTE_LAYER);

        jLabel5.setFont(new java.awt.Font("Calibri", 1, 14));
        jLabel5.setForeground(new java.awt.Color(255, 255, 255));
        jLabel5.setText("Accessory");
        jLabel5.setBounds(390, 170, 250, 30);
        TabEquipment.add(jLabel5, javax.swing.JLayeredPane.PALETTE_LAYER);

        SAcc1.setForeground(new java.awt.Color(255, 255, 255));
        SAcc1.setText("-Empty Slot-");
        SAcc1.setContentAreaFilled(false);
        SAcc1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SAcc1MouseClicked(evt);
            }
        });
        SAcc1.setBounds(420, 200, 200, 15);
        TabEquipment.add(SAcc1, javax.swing.JLayeredPane.PALETTE_LAYER);

        SAcc2.setForeground(new java.awt.Color(255, 255, 255));
        SAcc2.setText("-Empty Slot-");
        SAcc2.setContentAreaFilled(false);
        SAcc2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SAcc2MouseClicked(evt);
            }
        });
        SAcc2.setBounds(420, 220, 200, 15);
        TabEquipment.add(SAcc2, javax.swing.JLayeredPane.PALETTE_LAYER);

        SAcc3.setForeground(new java.awt.Color(255, 255, 255));
        SAcc3.setText("-Empty Slot-");
        SAcc3.setContentAreaFilled(false);
        SAcc3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SAcc3MouseClicked(evt);
            }
        });
        SAcc3.setBounds(420, 240, 200, 15);
        TabEquipment.add(SAcc3, javax.swing.JLayeredPane.PALETTE_LAYER);

        SAcc4.setForeground(new java.awt.Color(255, 255, 255));
        SAcc4.setText("-Empty Slot-");
        SAcc4.setContentAreaFilled(false);
        SAcc4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SAcc4MouseClicked(evt);
            }
        });
        SAcc4.setBounds(420, 260, 200, 15);
        TabEquipment.add(SAcc4, javax.swing.JLayeredPane.PALETTE_LAYER);

        SAcc5.setForeground(new java.awt.Color(255, 255, 255));
        SAcc5.setText("-Empty Slot-");
        SAcc5.setContentAreaFilled(false);
        SAcc5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SAcc5MouseClicked(evt);
            }
        });
        SAcc5.setBounds(420, 280, 200, 15);
        TabEquipment.add(SAcc5, javax.swing.JLayeredPane.PALETTE_LAYER);

        CmdDispose3.setFont(new java.awt.Font("Tahoma", 3, 14));
        CmdDispose3.setForeground(new java.awt.Color(204, 153, 0));
        CmdDispose3.setText("Dispose");
        CmdDispose3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdDispose3MouseClicked(evt);
            }
        });
        CmdDispose3.setBounds(560, 490, 200, 50);
        TabEquipment.add(CmdDispose3, javax.swing.JLayeredPane.PALETTE_LAYER);

        EquipPic.setIcon(new javax.swing.ImageIcon(getClass().getResource("/DigimonAdventure/Graphics/ItemPC.gif"))); // NOI18N
        EquipPic.setBounds(10, 460, 100, 100);
        TabEquipment.add(EquipPic, javax.swing.JLayeredPane.PALETTE_LAYER);

        EquipName.setFont(new java.awt.Font("Tahoma", 1, 12));
        EquipName.setForeground(new java.awt.Color(255, 255, 255));
        EquipName.setText("<Nama Selected Item>");
        EquipName.setBounds(130, 470, 200, 20);
        TabEquipment.add(EquipName, javax.swing.JLayeredPane.PALETTE_LAYER);

        EquipDesc.setForeground(new java.awt.Color(255, 255, 255));
        EquipDesc.setText("<Keterangan dari selected item>");
        EquipDesc.setBounds(160, 500, 350, 15);
        TabEquipment.add(EquipDesc, javax.swing.JLayeredPane.PALETTE_LAYER);

        EquipVal.setForeground(new java.awt.Color(255, 255, 255));
        EquipVal.setText("<Fungsi atau nilai selected item>");
        EquipVal.setBounds(160, 520, 350, 15);
        TabEquipment.add(EquipVal, javax.swing.JLayeredPane.PALETTE_LAYER);

        Tabs.addTab("Equipments", TabEquipment);

        Tabs.setBounds(0, 0, 800, 600);
        OuterPanel.add(Tabs, javax.swing.JLayeredPane.DEFAULT_LAYER);

        CmdToDigiStat.setFont(new java.awt.Font("Tahoma", 0, 12));
        CmdToDigiStat.setText("Digimon Status");
        CmdToDigiStat.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdToDigiStatMouseClicked(evt);
            }
        });
        CmdToDigiStat.setBounds(830, 60, 170, 25);
        OuterPanel.add(CmdToDigiStat, javax.swing.JLayeredPane.DEFAULT_LAYER);

        CmdRestore.setFont(new java.awt.Font("Tahoma", 0, 12));
        CmdRestore.setText("Back to Map");
        CmdRestore.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                CmdRestoreMouseClicked(evt);
            }
        });
        CmdRestore.setBounds(830, 20, 170, 25);
        OuterPanel.add(CmdRestore, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel62.setFont(new java.awt.Font("Tahoma", 0, 12));
        jLabel62.setText("Name");
        jLabel62.setBounds(470, 610, 31, 15);
        OuterPanel.add(jLabel62, javax.swing.JLayeredPane.DEFAULT_LAYER);

        PlayerName.setFont(new java.awt.Font("Tahoma", 1, 12));
        PlayerName.setText(": <Player's Name>");
        PlayerName.setBounds(520, 610, 200, 15);
        OuterPanel.add(PlayerName, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel61.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jLabel61.setText("Money");
        jLabel61.setBounds(470, 640, 36, 15);
        OuterPanel.add(jLabel61, javax.swing.JLayeredPane.DEFAULT_LAYER);

        Money.setFont(new java.awt.Font("Tahoma", 1, 12));
        Money.setText(": <Player's Money> bits");
        Money.setBounds(520, 640, 200, 15);
        OuterPanel.add(Money, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel63.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabel63.setForeground(new java.awt.Color(204, 0, 102));
        jLabel63.setText("Doom's Countdown:");
        jLabel63.setBounds(470, 690, 143, 17);
        OuterPanel.add(jLabel63, javax.swing.JLayeredPane.DEFAULT_LAYER);

        Countdown.setFont(new java.awt.Font("Tahoma", 3, 11));
        Countdown.setForeground(new java.awt.Color(204, 0, 102));
        Countdown.setText("<Hours> : <Minutes> : <Seconds>");
        Countdown.setBounds(510, 720, 197, 14);
        OuterPanel.add(Countdown, javax.swing.JLayeredPane.DEFAULT_LAYER);

        IsiDialog.setColumns(20);
        IsiDialog.setRows(5);
        IsiDialog.setText("---Digimon World Adventure II---\nBy Team Kyuubi 2009");
        DialogBox.setViewportView(IsiDialog);

        DialogBox.setBounds(10, 610, 450, 100);
        OuterPanel.add(DialogBox, javax.swing.JLayeredPane.DEFAULT_LAYER);

        PlayerFace.setIcon(new javax.swing.ImageIcon(getClass().getResource("/DigimonAdventure/Graphics/FaceF.gif"))); // NOI18N
        PlayerFace.setBounds(840, 520, 180, 225);
        OuterPanel.add(PlayerFace, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(OuterPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 1024, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(OuterPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 768, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void CmdNMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdNMouseClicked
        DialogVerify1.setVisible(false);
    }//GEN-LAST:event_CmdNMouseClicked

    private void CmdYMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdYMouseClicked
        DigimonAdventure.pemain.remLootAt(SLoot);
        Note.setText("Item Thrown Away...");
        DialogVerify1.setVisible(false);
        DialogNotification.setVisible(true);
        TabLootsComponentShown(evt);
    }//GEN-LAST:event_CmdYMouseClicked

    private void CmdOKMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdOKMouseClicked
        DialogNotification.setVisible(false);
    }//GEN-LAST:event_CmdOKMouseClicked

    private void CmdY1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdY1MouseClicked
        DigimonAdventure.pemain.getListDigimon()[ComboDigimon.getSelectedIndex()].addLife(DigimonAdventure.pemain.getItemAt(SItem).getAddHP());
        DigimonAdventure.pemain.getListDigimon()[ComboDigimon.getSelectedIndex()].addExp(DigimonAdventure.pemain.getItemAt(SItem).getAddExp());
        DigimonAdventure.pemain.remItemAt(SItem);
        TabItemComponentShown(evt);
        Note.setText("Item used...");
        DialogUse.setVisible(false);
        DialogNotification.setVisible(true);
    }//GEN-LAST:event_CmdY1MouseClicked

    private void CmdN1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdN1MouseClicked
        DialogUse.setVisible(false);
    }//GEN-LAST:event_CmdN1MouseClicked

    private void CmdDispose1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdDispose1MouseClicked
        DialogVerify1.setVisible(true);
}//GEN-LAST:event_CmdDispose1MouseClicked

    private void CmdUseMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdUseMouseClicked
        DialogUse.setVisible(true);
}//GEN-LAST:event_CmdUseMouseClicked

    private void CmdDispose2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdDispose2MouseClicked
        DialogVerify2.setVisible(true);
}//GEN-LAST:event_CmdDispose2MouseClicked

    private void CmdDispose3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdDispose3MouseClicked
        DialogVerify3.setVisible(true);
}//GEN-LAST:event_CmdDispose3MouseClicked

    private void CmdToDigiStatMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdToDigiStatMouseClicked
        this.setVisible(false);
        DigimonAdventure.statusui.setVisible(true);
}//GEN-LAST:event_CmdToDigiStatMouseClicked

    private void CmdRestoreMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdRestoreMouseClicked
        this.setVisible(false);
}//GEN-LAST:event_CmdRestoreMouseClicked

    private void formComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentShown
        this.TabLootsComponentShown(evt);
        this.TabItemComponentShown(evt);
        this.TabEquipmentComponentShown(evt);
        PlayerFace.setIcon(DigimonAdventure.pemain.getImageIcon());
        PlayerName.setText(": "+DigimonAdventure.pemain.getNama());
        Money.setText(": "+String.valueOf(DigimonAdventure.pemain.getBit())+" bits");
    }//GEN-LAST:event_formComponentShown

    private void TabsComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_TabsComponentShown
    }//GEN-LAST:event_TabsComponentShown

    private void TabLootsComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_TabLootsComponentShown
        try{
        SLoot1.setText(DigimonAdventure.pemain.getLootAt(0).getName());
        SLoot2.setText(DigimonAdventure.pemain.getLootAt(1).getName());
        SLoot3.setText(DigimonAdventure.pemain.getLootAt(2).getName());
        SLoot4.setText(DigimonAdventure.pemain.getLootAt(3).getName());
        SLoot5.setText(DigimonAdventure.pemain.getLootAt(4).getName());
        SLoot6.setText(DigimonAdventure.pemain.getLootAt(5).getName());
        SLoot7.setText(DigimonAdventure.pemain.getLootAt(6).getName());
        SLoot8.setText(DigimonAdventure.pemain.getLootAt(7).getName());
        SLoot9.setText(DigimonAdventure.pemain.getLootAt(8).getName());
        SLoot10.setText(DigimonAdventure.pemain.getLootAt(9).getName());
        LootName.setText(DigimonAdventure.pemain.getLootAt(SLoot).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(SLoot).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(SLoot).getVal());
        }catch(Exception e){

        }
    }//GEN-LAST:event_TabLootsComponentShown

    private void TabItemComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_TabItemComponentShown
        try{
        SItem1.setText(DigimonAdventure.pemain.getItemAt(0).getName());
        SItem2.setText(DigimonAdventure.pemain.getItemAt(1).getName());
        SItem3.setText(DigimonAdventure.pemain.getItemAt(2).getName());
        SItem4.setText(DigimonAdventure.pemain.getItemAt(3).getName());
        SItem5.setText(DigimonAdventure.pemain.getItemAt(4).getName());
        SItem6.setText(DigimonAdventure.pemain.getItemAt(5).getName());
        SItem7.setText(DigimonAdventure.pemain.getItemAt(6).getName());
        SItem8.setText(DigimonAdventure.pemain.getItemAt(7).getName());
        SItem9.setText(DigimonAdventure.pemain.getItemAt(8).getName());
        SItem10.setText(DigimonAdventure.pemain.getItemAt(9).getName());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(SItem).getName());
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(SItem).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(SItem).getVal());
        }catch(Exception e){

        }
    }//GEN-LAST:event_TabItemComponentShown

    private void SItem1PropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_SItem1PropertyChange
    }//GEN-LAST:event_SItem1PropertyChange

    private void SItem1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem1MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(0).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(0).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(0).getName());
        SItem = 0;
    }//GEN-LAST:event_SItem1MouseClicked

    private void SItem2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem2MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(1).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(1).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(1).getName());
        SItem = 1;
    }//GEN-LAST:event_SItem2MouseClicked

    private void SItem3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem3MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(2).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(2).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(2).getName());
        SItem = 2;
    }//GEN-LAST:event_SItem3MouseClicked

    private void SItem4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem4MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(3).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(3).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(3).getName());
        SItem = 3;
    }//GEN-LAST:event_SItem4MouseClicked

    private void SItem5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem5MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(4).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(4).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(4).getName());
        SItem = 4;
    }//GEN-LAST:event_SItem5MouseClicked

    private void SItem6MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem6MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(5).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(5).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(5).getName());
        SItem = 5;
    }//GEN-LAST:event_SItem6MouseClicked

    private void SItem7MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem7MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(6).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(6).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(6).getName());
        SItem = 6;
    }//GEN-LAST:event_SItem7MouseClicked

    private void SItem8MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem8MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(7).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(7).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(7).getName());
        SItem = 7;
    }//GEN-LAST:event_SItem8MouseClicked

    private void SItem9MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem9MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(8).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(8).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(8).getName());
        SItem = 8;
    }//GEN-LAST:event_SItem9MouseClicked

    private void SItem10MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SItem10MouseClicked
        ItemDesc.setText(DigimonAdventure.pemain.getItemAt(9).getDesc());
        ItemVal.setText(DigimonAdventure.pemain.getItemAt(9).getVal());
        ItemName.setText(DigimonAdventure.pemain.getItemAt(9).getName());
        SItem = 9;
    }//GEN-LAST:event_SItem10MouseClicked

    private void SLoot1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot1MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(0).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(0).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(0).getVal());
        SLoot = 0;
    }//GEN-LAST:event_SLoot1MouseClicked

    private void SLoot2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot2MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(1).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(1).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(1).getVal());
        SLoot = 1;
    }//GEN-LAST:event_SLoot2MouseClicked

    private void SLoot3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot3MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(2).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(2).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(2).getVal());
        SLoot = 2;
    }//GEN-LAST:event_SLoot3MouseClicked

    private void SLoot4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot4MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(3).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(3).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(3).getVal());
        SLoot = 3;
    }//GEN-LAST:event_SLoot4MouseClicked

    private void SLoot5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot5MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(4).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(4).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(4).getVal());
        SLoot = 4;
    }//GEN-LAST:event_SLoot5MouseClicked

    private void SLoot6MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot6MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(5).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(5).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(5).getVal());
        SLoot = 5;
    }//GEN-LAST:event_SLoot6MouseClicked

    private void SLoot7MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot7MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(6).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(6).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(6).getVal());
        SLoot = 6;
    }//GEN-LAST:event_SLoot7MouseClicked

    private void SLoot8MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot8MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(7).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(7).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(7).getVal());
        SLoot = 7;
    }//GEN-LAST:event_SLoot8MouseClicked

    private void SLoot9MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot9MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(8).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(8).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(8).getVal());
        SLoot = 8;
    }//GEN-LAST:event_SLoot9MouseClicked

    private void SLoot10MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SLoot10MouseClicked
        LootName.setText(DigimonAdventure.pemain.getLootAt(9).getName());
        LootDesc.setText(DigimonAdventure.pemain.getLootAt(9).getDesc());
        LootVal.setText(DigimonAdventure.pemain.getLootAt(9).getVal());
        SLoot = 9;
    }//GEN-LAST:event_SLoot10MouseClicked

    private void TabEquipmentComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_TabEquipmentComponentShown
        SArm1.setText(DigimonAdventure.pemain.getArmorAt(0).getName());
        SArm2.setText(DigimonAdventure.pemain.getArmorAt(1).getName());
        SArm3.setText(DigimonAdventure.pemain.getArmorAt(2).getName());
        SArm4.setText(DigimonAdventure.pemain.getArmorAt(3).getName());
        SArm5.setText(DigimonAdventure.pemain.getArmorAt(4).getName());
        SWpn1.setText(DigimonAdventure.pemain.getWeaponAt(0).getName());
        SWpn2.setText(DigimonAdventure.pemain.getWeaponAt(1).getName());
        SWpn3.setText(DigimonAdventure.pemain.getWeaponAt(2).getName());
        SWpn4.setText(DigimonAdventure.pemain.getWeaponAt(3).getName());
        SWpn5.setText(DigimonAdventure.pemain.getWeaponAt(4).getName());
        SShd1.setText(DigimonAdventure.pemain.getShieldAt(0).getName());
        SShd2.setText(DigimonAdventure.pemain.getShieldAt(1).getName());
        SShd3.setText(DigimonAdventure.pemain.getShieldAt(2).getName());
        SShd4.setText(DigimonAdventure.pemain.getShieldAt(3).getName());
        SShd5.setText(DigimonAdventure.pemain.getShieldAt(4).getName());
        SBst1.setText(DigimonAdventure.pemain.getBoostAt(0).getName());
        SBst2.setText(DigimonAdventure.pemain.getBoostAt(1).getName());
        SBst3.setText(DigimonAdventure.pemain.getBoostAt(2).getName());
        SBst4.setText(DigimonAdventure.pemain.getBoostAt(3).getName());
        SBst5.setText(DigimonAdventure.pemain.getBoostAt(4).getName());
        SAcc1.setText(DigimonAdventure.pemain.getAccAt(0).getName());
        SAcc2.setText(DigimonAdventure.pemain.getAccAt(1).getName());
        SAcc3.setText(DigimonAdventure.pemain.getAccAt(2).getName());
        SAcc4.setText(DigimonAdventure.pemain.getAccAt(3).getName());
        SAcc5.setText(DigimonAdventure.pemain.getAccAt(4).getName());
        //biar ga ada yg lain yg kepilih dari awal...
        SArm = 0; SWpn = 5; SShd =5; SBst = 5; SAcc = 5;
    }//GEN-LAST:event_TabEquipmentComponentShown

    private void SArm1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SArm1MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getArmorAt(0).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getArmorAt(0).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getArmorAt(0).getVal());
        SArm = 0; SWpn = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SArm1MouseClicked

    private void SArm2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SArm2MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getArmorAt(1).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getArmorAt(1).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getArmorAt(1).getVal());
        SArm = 1; SWpn = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SArm2MouseClicked

    private void SArm3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SArm3MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getArmorAt(2).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getArmorAt(2).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getArmorAt(2).getVal());
        SArm = 2; SWpn = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SArm3MouseClicked

    private void SArm4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SArm4MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getArmorAt(3).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getArmorAt(3).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getArmorAt(3).getVal());
        SArm = 3; SWpn = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SArm4MouseClicked

    private void SArm5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SArm5MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getArmorAt(4).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getArmorAt(4).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getArmorAt(4).getVal());
        SArm = 4; SWpn = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SArm5MouseClicked

    private void SWpn1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SWpn1MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getWeaponAt(0).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getWeaponAt(0).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getWeaponAt(0).getVal());
        SWpn = 0; SArm = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SWpn1MouseClicked

    private void SWpn2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SWpn2MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getWeaponAt(1).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getWeaponAt(1).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getWeaponAt(1).getVal());
        SWpn = 1; SArm = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SWpn2MouseClicked

    private void SWpn3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SWpn3MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getWeaponAt(2).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getWeaponAt(2).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getWeaponAt(2).getVal());
        SWpn = 2; SArm = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SWpn3MouseClicked

    private void SWpn4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SWpn4MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getWeaponAt(3).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getWeaponAt(3).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getWeaponAt(3).getVal());
        SWpn = 3; SArm = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SWpn4MouseClicked

    private void SWpn5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SWpn5MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getWeaponAt(4).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getWeaponAt(4).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getWeaponAt(4).getVal());
        SWpn = 4; SArm = 5; SShd =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SWpn5MouseClicked

    private void SShd1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SShd1MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getShieldAt(0).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getShieldAt(0).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getShieldAt(0).getVal());
        SShd = 0; SArm = 5; SWpn =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SShd1MouseClicked

    private void SShd2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SShd2MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getShieldAt(1).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getShieldAt(1).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getShieldAt(1).getVal());
        SShd = 1; SArm = 5; SWpn =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SShd2MouseClicked

    private void SShd3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SShd3MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getShieldAt(2).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getShieldAt(2).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getShieldAt(2).getVal());
        SShd = 2; SArm = 5; SWpn =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SShd3MouseClicked

    private void SShd4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SShd4MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getShieldAt(3).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getShieldAt(3).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getShieldAt(3).getVal());
        SShd = 3; SArm = 5; SWpn =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SShd4MouseClicked

    private void SShd5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SShd5MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getShieldAt(4).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getShieldAt(4).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getShieldAt(4).getVal());
        SShd = 4; SArm = 5; SWpn =5; SBst = 5; SAcc =5;
    }//GEN-LAST:event_SShd5MouseClicked

    private void SBst1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SBst1MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getBoostAt(0).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getBoostAt(0).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getBoostAt(0).getVal());
        SBst = 0; SArm = 5; SWpn =5; SShd = 5; SAcc =5;
    }//GEN-LAST:event_SBst1MouseClicked

    private void SBst2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SBst2MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getBoostAt(1).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getBoostAt(1).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getBoostAt(1).getVal());
        SBst = 1; SArm = 5; SWpn =5; SShd = 5; SAcc =5;
    }//GEN-LAST:event_SBst2MouseClicked

    private void SBst3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SBst3MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getBoostAt(2).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getBoostAt(2).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getBoostAt(2).getVal());
        SBst = 2; SArm = 5; SWpn =5; SShd = 5; SAcc =5;
    }//GEN-LAST:event_SBst3MouseClicked

    private void SBst4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SBst4MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getBoostAt(3).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getBoostAt(3).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getBoostAt(3).getVal());
        SBst = 3; SArm = 5; SWpn =5; SShd = 5; SAcc =5;
    }//GEN-LAST:event_SBst4MouseClicked

    private void SBst5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SBst5MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getBoostAt(4).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getBoostAt(4).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getBoostAt(4).getVal());
        SBst = 4; SArm = 5; SWpn =5; SShd = 5; SAcc =5;
    }//GEN-LAST:event_SBst5MouseClicked

    private void SAcc1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SAcc1MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getAccAt(0).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getAccAt(0).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getAccAt(0).getVal());
        SAcc = 0; SArm = 5; SWpn =5; SShd = 5; SBst =5;
    }//GEN-LAST:event_SAcc1MouseClicked

    private void SAcc2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SAcc2MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getAccAt(1).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getAccAt(1).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getAccAt(1).getVal());
        SAcc = 1; SArm = 5; SWpn =5; SShd = 5; SBst =5;
    }//GEN-LAST:event_SAcc2MouseClicked

    private void SAcc3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SAcc3MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getAccAt(2).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getAccAt(2).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getAccAt(2).getVal());
        SAcc = 2; SArm = 5; SWpn =5; SShd = 5; SBst =5;
    }//GEN-LAST:event_SAcc3MouseClicked

    private void SAcc4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SAcc4MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getAccAt(3).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getAccAt(3).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getAccAt(3).getVal());
        SAcc = 3; SArm = 5; SWpn =5; SShd = 5; SBst =5;
    }//GEN-LAST:event_SAcc4MouseClicked

    private void SAcc5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SAcc5MouseClicked
        EquipName.setText(DigimonAdventure.pemain.getAccAt(4).getName());
        EquipDesc.setText(DigimonAdventure.pemain.getAccAt(4).getDesc());
        EquipVal.setText(DigimonAdventure.pemain.getAccAt(4).getVal());
        SAcc = 4; SArm = 5; SWpn =5; SShd = 5; SBst =5;
    }//GEN-LAST:event_SAcc5MouseClicked

    private void SItem5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SItem5ActionPerformed
    }//GEN-LAST:event_SItem5ActionPerformed

    private void CmdY2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdY2MouseClicked
        DigimonAdventure.pemain.remItemAt(SItem);
        Note.setText("Item Thrown Away...");
        DialogVerify2.setVisible(false);
        DialogNotification.setVisible(true);
        TabItemComponentShown(evt);
    }//GEN-LAST:event_CmdY2MouseClicked

    private void CmdN2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdN2MouseClicked
        DialogVerify2.setVisible(false);
    }//GEN-LAST:event_CmdN2MouseClicked

    private void CmdY3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdY3MouseClicked
        DigimonAdventure.pemain.remArmorAt(SArm);
        DigimonAdventure.pemain.remWeaponAt(SWpn);
        DigimonAdventure.pemain.remShieldAt(SShd);
        DigimonAdventure.pemain.remBoostAt(SBst);
        DigimonAdventure.pemain.remAccAt(SAcc);
        Note.setText("Item Thrown Away...");
        DialogVerify3.setVisible(false);
        DialogNotification.setVisible(true);
        TabEquipmentComponentShown(evt);
    }//GEN-LAST:event_CmdY3MouseClicked

    private void CmdN3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CmdN3MouseClicked
        DialogVerify3.setVisible(false);
    }//GEN-LAST:event_CmdN3MouseClicked

    private void DialogUseComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_DialogUseComponentShown
        ComboDigimon.addItem(DigimonAdventure.pemain.getListDigimon()[0]);
        if(DigimonAdventure.pemain.getListDigimon()[1] != null){
            ComboDigimon.addItem(DigimonAdventure.pemain.getListDigimon()[1]);
        }
        if(DigimonAdventure.pemain.getListDigimon()[2] != null){
            ComboDigimon.addItem(DigimonAdventure.pemain.getListDigimon()[2]);
        }
    }//GEN-LAST:event_DialogUseComponentShown

    private void DialogUseComponentHidden(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_DialogUseComponentHidden
        ComboDigimon.removeAllItems();
    }//GEN-LAST:event_DialogUseComponentHidden


    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                InventoryDialog dialog = new InventoryDialog(new javax.swing.JFrame(), true);
                dialog.addWindowListener(new java.awt.event.WindowAdapter() {
                    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
                    }
                });
                dialog.setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel BGEquip;
    private javax.swing.JLabel BGItem;
    private javax.swing.JLabel BGLoots;
    private javax.swing.JButton CmdDispose1;
    private javax.swing.JButton CmdDispose2;
    private javax.swing.JButton CmdDispose3;
    private javax.swing.JButton CmdN;
    private javax.swing.JButton CmdN1;
    private javax.swing.JButton CmdN2;
    private javax.swing.JButton CmdN3;
    private javax.swing.JButton CmdOK;
    private javax.swing.JButton CmdRestore;
    private javax.swing.JButton CmdToDigiStat;
    private javax.swing.JButton CmdUse;
    private javax.swing.JButton CmdY;
    private javax.swing.JButton CmdY1;
    private javax.swing.JButton CmdY2;
    private javax.swing.JButton CmdY3;
    private javax.swing.JComboBox ComboDigimon;
    private javax.swing.JLabel Countdown;
    private javax.swing.JScrollPane DialogBox;
    private javax.swing.JDialog DialogNotification;
    private javax.swing.JDialog DialogUse;
    private javax.swing.JDialog DialogVerify1;
    private javax.swing.JDialog DialogVerify2;
    private javax.swing.JDialog DialogVerify3;
    private javax.swing.JLabel EquipDesc;
    private javax.swing.JLabel EquipName;
    private javax.swing.JLabel EquipPic;
    private javax.swing.JLabel EquipVal;
    private javax.swing.ButtonGroup GroupEquip;
    private javax.swing.ButtonGroup GroupItem;
    private javax.swing.ButtonGroup GroupLoots;
    private javax.swing.JTextArea IsiDialog;
    private javax.swing.JLabel ItemDesc;
    private javax.swing.JLabel ItemName;
    private javax.swing.JLabel ItemPic;
    private javax.swing.JLabel ItemVal;
    private javax.swing.JLabel LootDesc;
    private javax.swing.JLabel LootName;
    private javax.swing.JLabel LootPic;
    private javax.swing.JLabel LootVal;
    private javax.swing.JLabel Money;
    private javax.swing.JLabel Note;
    private javax.swing.JLayeredPane OuterPanel;
    private javax.swing.JLabel PlayerFace;
    private javax.swing.JLabel PlayerName;
    private javax.swing.JRadioButton SAcc1;
    private javax.swing.JRadioButton SAcc2;
    private javax.swing.JRadioButton SAcc3;
    private javax.swing.JRadioButton SAcc4;
    private javax.swing.JRadioButton SAcc5;
    private javax.swing.JRadioButton SArm1;
    private javax.swing.JRadioButton SArm2;
    private javax.swing.JRadioButton SArm3;
    private javax.swing.JRadioButton SArm4;
    private javax.swing.JRadioButton SArm5;
    private javax.swing.JRadioButton SBst1;
    private javax.swing.JRadioButton SBst2;
    private javax.swing.JRadioButton SBst3;
    private javax.swing.JRadioButton SBst4;
    private javax.swing.JRadioButton SBst5;
    private javax.swing.JRadioButton SItem1;
    private javax.swing.JRadioButton SItem10;
    private javax.swing.JRadioButton SItem2;
    private javax.swing.JRadioButton SItem3;
    private javax.swing.JRadioButton SItem4;
    private javax.swing.JRadioButton SItem5;
    private javax.swing.JRadioButton SItem6;
    private javax.swing.JRadioButton SItem7;
    private javax.swing.JRadioButton SItem8;
    private javax.swing.JRadioButton SItem9;
    private javax.swing.JRadioButton SLoot1;
    private javax.swing.JRadioButton SLoot10;
    private javax.swing.JRadioButton SLoot2;
    private javax.swing.JRadioButton SLoot3;
    private javax.swing.JRadioButton SLoot4;
    private javax.swing.JRadioButton SLoot5;
    private javax.swing.JRadioButton SLoot6;
    private javax.swing.JRadioButton SLoot7;
    private javax.swing.JRadioButton SLoot8;
    private javax.swing.JRadioButton SLoot9;
    private javax.swing.JRadioButton SShd1;
    private javax.swing.JRadioButton SShd2;
    private javax.swing.JRadioButton SShd3;
    private javax.swing.JRadioButton SShd4;
    private javax.swing.JRadioButton SShd5;
    private javax.swing.JRadioButton SWpn1;
    private javax.swing.JRadioButton SWpn2;
    private javax.swing.JRadioButton SWpn3;
    private javax.swing.JRadioButton SWpn4;
    private javax.swing.JRadioButton SWpn5;
    private javax.swing.JLayeredPane TabEquipment;
    private javax.swing.JLayeredPane TabItem;
    private javax.swing.JLayeredPane TabLoots;
    private javax.swing.JTabbedPane Tabs;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel61;
    private javax.swing.JLabel jLabel62;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    // End of variables declaration//GEN-END:variables

}
